From: Gerd Moellmann Date: Wed, 16 May 2001 15:08:35 +0000 (+0000) Subject: (split_font_name): Use the right field when X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~63247 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3849cbf41c5e95e98542d001aa217a3a09b48fc3;p=emacs.git (split_font_name): Use the right field when checking for `[...]' syntax. --- diff --git a/src/xfaces.c b/src/xfaces.c index 676f1d77254..859c46a703d 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -2227,7 +2227,7 @@ split_font_name (f, font, numeric_p) /* Check that the matrix contains 4 floating point numbers. */ - for (j = 0, start = font->fields[i] + 1; + for (j = 0, start = font->fields[i - 1] + 1; j < 4; ++j, start = end) if (strtod (start, &end) == 0 && start == end)